#!/bin/sh

find_self() {
	SELF_DIR=`dirname $0`
}

#MAIN
find_self
. $SELF_DIR/QEMU_OPTS

rm -rf $PID
cp $DISK $TMP_DISK
$QEMU_COMMAND -hda $TMP_DISK -hdb vfat:$SHARE -net none -boot c -pidfile $PID -snapshot &
